using System;
using System.Collections.Generic;
using System.Text;
using CourseSync.CourseManager.Manager;
using CourseSync.CourseManager.Entity;
using CourseSync.LibFetcher.Fetcher;

namespace TestProject
{
	class Program
	{
		static List<string> _consoles;
		static void Main(string[] args)
		{
			_consoles = new List<string>();
			Manager.Initialize();
			if (Manager.Login())
			{
				/*
				Course[] cList= Manager.GetCurrentCourses();
				//foreach (Course c in cList)
				Course c = cList[0];
				//{
					
					_consoles.Add(c.Name);
					CFile[] fList = Manager.GetFiles(c.CourseId);
					foreach (CFile f in fList)
					{
						_consoles.Add("\t" + f.Name);
						string path = Manager.MergePath(c, f);
						Manager.DownloadFile(f.Link, path);
					}
				//}
				 */ 
			}
		}

		public static void UpdateProgress()
		{
			
		}
	}
}
